public class Seagate_HardDisk extends HardDisk {
    private String name;
    private double volume;
    private double price;

    Seagate_HardDisk(String name,double volume,double price){
        super(name,volume,price);
    }

    @Override
    public void work(){
        System.out.println("Seagate hard disk is working...");
    }

    public String getName() { return name; }
    public double getVolume() { return volume; }
    public double getPrice() { return price; }
    public void setName(String name) { this.name = name; }
    public void setPrice(double price) { this.price = price; }
}
